package com.leo.common.core.exception;

import lombok.Getter;
import lombok.NoArgsConstructor;

@NoArgsConstructor
public class BadRequestException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	@Getter
	private int exceptionCode;

	public BadRequestException(int code, String message) {
		super(message);
		this.exceptionCode = code;
	}

}
